import request from '@/utils/request'
export const queryPage = '/icps/system/sign/basics/car/QueryPage '
export const batchUpdateOrDelete = '/icps/system/sign/basics/car/deletes'
export const updateSortNum = ''
export const saveOrUpdate = '/icps/system/sign/basics/car/saveOrUpdate'
export const Download = '/icps/system/sign/basics/car/exportList'
export function carMaintainsave(data) {
  return request({
    url: '/icps/system/sign/basics/carMaintain/save',
    method: 'post',
    data
  })
}
export function carMaintainQueryPage(data) {
  return request({
    url: '/icps/system/sign/basics/carMaintain/QueryPage',
    method: 'post',
    data
  })
}
export function QueryPlateNumber(data) {
  return request({
    url: '/icps/system/sign/basics/car/QueryPlateNumber',
    method: 'post',
    data
  })
}
/*类别维护*/
export function typeQuery() {
  return request({
    url: '/icps/system/sign/basics/carType/QueryCarTypes',
    method: 'post'
  })
}
export function isDeletetype(data) {
  return request({
    url: '/icps/system/sign/basics/carType/queryCarTypeByid',
    method: 'post',
    data
  })
}
export function typesaveOrUpdate(data) {
  return request({
    url: '/icps/system/sign/basics/carType/saveOrUpdate',
    method: 'post',
    data
  })
}